package cn.iocoder.yudao.module.statistics.controller.admin.shareprofit.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 门店交易合伙人分润新增/修改 Request VO")
@Data
public class StoreTradeShareProfitSaveReqVO {

    @Schema(description = "编号，主键自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "12128")
    private Long id;

    @Schema(description = "统计日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "统计日期不能为空")
    private LocalDate reportDate;

    @Schema(description = "合伙人类型：1-LP发起人；2-LP合伙人；", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "合伙人类型：1-LP发起人；2-LP合伙人；不能为空")
    private Integer partnerType;

    @Schema(description = "分佣比率")
    private BigDecimal shareProfitRate;

    @Schema(description = "总支付金额，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "17463")
    @NotNull(message = "总支付金额，单位：分不能为空")
    private Integer orderPayPrice;

    @Schema(description = "总支付金额分润，单位：分", example = "6870")
    private Long shareProfitPayPrice;

    @Schema(description = "总退款金额，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "22123")
    @NotNull(message = "总退款金额，单位：分不能为空")
    private Integer refundPrice;

    @Schema(description = "总退款金额分润，单位：分", example = "2643")
    private Long shareProfitRefundPrice;

    @Schema(description = "店铺ID", example = "18319")
    private Long storeId;

    @Schema(description = "店铺名称", example = "赵六")
    private String storeName;

    @Schema(description = "合伙人ID", example = "1")
    private Long partnerId;

}